import request from '@/common/request.js'

export default {
	//获取文章
	GetAdminSet(data){
		return request("/admin/admin_set/info","POST",data)
	},
	//获取金刚区
	GetJingang(data){
		return request("/admin/jinGang/list","POST",data)
	},
	//获取banner
	GetBanner(data){
		return request("/admin/banner/list","POST",data)
	},
	//获取用户地址列表
	GetAddressList(data){
		return request("/user/app/addressList","POST",data)
	},
	//修改用户所在城市
	EditUserCity(data){
		return request("/app/user/edit_city","POST",data)
	},
	//地址新增/修改
	AddressAdd(data){
		return request("/user/app/addOrEditAddress","POST",data)
	},
	//修改默认地址
	AddressEdit(data){
		return request("/app/address/edit","POST",data)
	},
	//删除地址
	AddressDel(data){
		return request("/app/address/del","POST",data)
	},
	//获取全部栏目
	GetCateList(data){
		return request("/app/cate/list","POST",data)
	},
	//获取商品分组信息
	GetShopGroupList(data){
		return request("/app/group/list","POST",data)
	},
	//获取分组商品及信息
	GetGroupInfo(data){
		return request("/app/group/info","POST",data)
	},
	//获取历史搜索
	GetSearch(data){
		return request("/app/search/list","POST",data)
	},
	//新增历史搜索
	AddSearch(data){
		return request("/app/search/add","POST",data)
	},
	//获取热门搜索
	GetHotSearch(data){
		return request("/app/hto_search/list","POST",data)
	},
	//热门搜索+1
	AddHotSearch(data){
		return request("/app/hto_search/add","POST",data)
	},
	//获取商品列表
	GetShopList(data){
		return request("/app/shop_product/list","POST",data)
	},
	//获取二级分类与商品列表
	GetShopCateList(data){
		return request("/app/shop_cate_product/list","POST",data)
	},
	//获取商品详情页
	GetShopInfo(data){
		return request("/app/shop/info","POST",data)
	},
	//获取服务详情页
	GetFuProductInfo(data){
		return request("/app/fu_wu/info","POST",data)
	},
	//获取文章主分类
	GetArticleCategoryList(data){
		return request("/app/article/getlist","POST",data)
	},
	//获取文章分类
	ArticleCategoryList(data){
		return request("/app/article/list","POST",data)
	},
	//获取文章
	ArticleList(data){
		return request("/app/articleContent/list","POST",data)
	},
	//文章详情
	GetArticleShow(data){
		return request("/app/article/show","POST",data)
	},
	//新增阅读量
	AddYuedu(data){
		return request("/app/article/add_yue","POST",data)
	},
	//获取支付列表
	GetPayList(data){
		return request("/app/pay/list","POST",data)
	},
	//获取充值设置
	GetRecharge(data){
		return request("/app/recharge/list","POST",data)
	},
	//余额充值下单
	AddRecharge(data){
		return request("/app/recharge_order/add","POST",data)
	},
	//调用微信小程序apiv3支付
	WxPayV3Api(data){
		return request("/app/wx_pay/WxPayV3Api","POST",data)
	},
	//获取用户详情
	UserInfo(data){
		return request("/user/app/userInfo","POST",data)
	},
	//获取确认订单信息
	GetConfirmarShopOrder(data){
		return request("/app/shop_order/info","POST",data)
	},
	//获取确认服务订单信息
	GetConfirmarFuOrder(data){
		return request("/app/fu_wu_order/info","POST",data)
	},
	//创建订单服务订单
	AddFuOrder(data){
		return request("/app/fu_wu_order/add","POST",data)
	},
	//余额支付
	RechargeEdit(data){
		return request("/app/pay_order/pay","POST",data)
	},
	//设置用户信息
	setUserInfo(data){
		return request("/user/app/setUserInfo","POST",data)
	},
	//获取手机号
	GetWXPhone(data){
		return request("/user/app/getWXPhone","POST",data)
	},
	//充值卡兑换
	RechargeExchange(data){
		return request("/app/recharge_exchange/exchange","POST",data)
	},
	//获取余额明细
	GetRechargeShow(data){
		return request("/app/recharge/show","POST",data)
	},
	//获取积分明细
	GetScoreShow(data){
		return request("/app/score/show","POST",data)
	},
	//获取积分明细
	GetScoreShow(data){
		return request("/app/score/show","POST",data)
	},
	//获取优惠券
	GetCoupon(data){
		return request("/app/coupon/list","POST",data)
	},
	//领取优惠券
	ReceiveCoupon(data){
		return request("/app/coupon/add","POST",data)
	},
	//获取我的优惠券
	GetMyCouponList(data){
		return request("/app/coupon/my_list","POST",data)
	},
	//获取我的服务订单列表
	GetOrderList(data){
		return request("/app/fu_order/list","POST",data)
	},
	//取消服务订单
	CancelFuOrder(data){
		return request("/app/fu_order/cancel","POST",data)
	},
	//删除服务订单
	DelFuOrder(data){
		return request("/app/fu_order/del","POST",data)
	},
	//服务订单详情
	GetFuOrderShow(data){
		return request("/app/fu_order/show","POST",data)
	},
	//激活套餐
	ActivationFuOrder(data){
		return request("/app/fu_order/activation","POST",data)
	},
	//获取服务套餐list
	GetFuWuTaoList(data){
		return request("/app/tao_order/list","POST",data)
	},
	//确认预约服务
	GetFuYueConfirmar(data){
		return request("/app/tao_order/confirmar","POST",data)
	},
	//预约下单
	AddFuwuYu(data){
		return request("/app/xiang_order/Add","POST",data)
	},
	//获取服务清单列表
	GetFuYuList(data){
		return request("/app/xiang_order/list","POST",data)
	},
	//获取预约详情
	GetFuYuShow(data){
		return request("/app/xiang_order/show","POST",data)
	},
	//修改预约
	EditFuYu(data){
		return request("/app/xiang_order/edit","POST",data)
	},
	//取消预约
	CancelFuwuYu(data){
		return request("/app/xiang_order/cancel","POST",data)
	},
	//获取商品列表
	GetFuShopList(data){
		return request("/app/fu_shop/list","POST",data)
	},
	//获取分组下商品列表
	GetFuGroupList(data){
		return request("/app/fu_group_shop/list","POST",data)
	},
	//获取我的待预约服务
	GetYueList(data){
		return request("/app/xiang_order/getList","POST",data)
	},
	//搜索结果
	GetSearchShow(data){
		return request("/app/hto_search/show","POST",data)
	},
	//获取意见列表
	GetOpinionList(data){
		return request("/app/opinion/list","POST",data)
	},
	//新增意见反馈
	AddOpinion(data){
		return request("/app/opinion/add","POST",data)
	}
}